<?php
/**
 * Created by PhpStorm.
 * User: ruma
 * Date: 2019/1/27
 * Time: 9:48
 */

namespace app\admin\validate;


class ArticleAddValidate extends BaseValidate
{
    protected $rule = [
        'arc_title' => 'require',
        'arc_author' => 'require',
        'arc_content' => 'require',
        'cate_id' => 'require',
        'tid' => 'require'
    ];
    protected $message = [
        'arc_title.require' => '请填写文章标题',
        'arc_author.require' => '请填写文章作者',
        'arc_content.require' => '请填写文章内容',
        'cate_id.require' => '请选择文章所属栏目',
        'tid.require' => '请选择文章标签'
    ];

}